package com.alibaba.citrus.ots.common.lock;

/**
 * @author luyi
 * @date 2021/11/29 7:18 下午
 */
public interface Lock extends AutoCloseable{

    boolean lock();

    void unlock();

    String getLockKey();

    @Override
    void close();
}
